<template>
  <div>
    <el-descriptions
      title="诊断信息"
      border
      :column="4"
      :labelStyle="{ width: '130px' }"
      direction="vertical"
    >
      <el-descriptions-item label="审单药师姓名">{{info.verifier }}</el-descriptions-item>
      <el-descriptions-item label="审单药师工号">{{info.verifierCode }}</el-descriptions-item>
      <el-descriptions-item label="审单时间">{{info.verifyTime }}</el-descriptions-item> 
      <el-descriptions-item label="审核药师手机号">{{info.verifierPhone }}</el-descriptions-item> 
      <el-descriptions-item label="审核药师医院">{{info.verifierOrganName }}</el-descriptions-item> 
      <el-descriptions-item label="审核药师科室">{{info.verifierDeptName }}</el-descriptions-item>
      <el-descriptions-item label="审单医师签名"> 
        <image-preview
            :src="info.verifySign" 
            :width="50"
            :height="50" 
            v-if="info.verifySign"
          />
      </el-descriptions-item>
      <el-descriptions-item label="审单备注">{{info.verifyRemark }}</el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
import { getReview } from "@/api/pr/basics";

export default {
  name: "Basics",
  dicts: ["yy_prescription_types", "yy_push_types", "yy_push_status"],
  data() {
    return { info: {} };
  },
  created() {},
  methods: {
    getdDetail(id) {
      getReview({
        basiceId: id,
      }).then((response) => {
        this.info = response.data;
      });
    },
  },
};
</script> 
